package stream;

public class User {
	int age;
	String name;
	SexEnum sex;

	User(int age, String name) {
		this.age = age;
		this.name = name;
	}

	public User(int age, String name, SexEnum sex) {
		super();
		this.age = age;
		this.name = name;
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public SexEnum getSex() {
		return sex;
	}

	public void setSex(SexEnum sex) {
		this.sex = sex;
	}

}
